package com.ohuang.launcher.hook;

import android.content.Context;

/**
 * hook 系统接口 com.android.internal.telephony.ITelephony
 */
public class TelephonyManagerHook extends SystemServiceHook {
    public static final String TAG = "TelephonyManagerHook";


    private TelephonyManagerHook() {
    }

    private static final class InstanceHolder {
        static final TelephonyManagerHook instance = new TelephonyManagerHook();
    }

    public static TelephonyManagerHook getInstance() {
        return InstanceHolder.instance;
    }

    @Override
    protected String getIInterfaceClass() {
        return "com.android.internal.telephony.ITelephony";
    }

    @Override
    protected String getServiceName() {
        return Context.TELEPHONY_SERVICE;
    }


}
